package com.study.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 部门实体类
 * (Departmentinfo)实体类
 *
 * @author makejava
 * @since 2022-09-21 14:22:42
 */
@Data
@TableName("departmentinfo")
public class Departmentinfo implements Serializable {
    private static final long serialVersionUID = -73170763142848635L;
    @TableId(value = "department_id",type = IdType.NONE)
    private String departmentId;
    @TableField("department_name")
    private String departmentName;
    @TableField("department_manager")
    private String departmentManager;
    @TableField("department_flag")
    private Integer departmentFlag;
    @TableField("department_telephone")
    private String departmentTelephone;
    @TableField(exist = false)
    private Userinfo userinfo;
}

